package util ;

/**
 * the requested object was not found.
 * 
 * @author idan
 */
public class NotFoundException extends Exception
{

	/***/
	private static final long serialVersionUID = 1L ;

	private final Object searchKey ;

	/**
	 * @param searchKey what was not found?
	 */
	public NotFoundException(final Object searchKey)
	{
		super() ;
		this.searchKey = searchKey ;
	}

	/**
	 * @return the key that was search and not found.
	 */
	public Object getSearchKey()
	{
		return this.searchKey ;
	}
}
